import request from '@/utils/request'

// 查询调拨出库管理列表
export function listTransferOutbound(query) {
  return request({
    url: '/OutboundManagement/transferOutbound/list',
    method: 'get',
    params: query
  })
}

// 查询调拨出库管理详细
export function getTransferOutbound(transferId) {
  return request({
    url: '/OutboundManagement/transferOutbound/' + transferId,
    method: 'get'
  })
}

// 新增调拨出库管理
export function addTransferOutbound(data) {
  return request({
    url: '/OutboundManagement/transferOutbound',
    method: 'post',
    data: data
  })
}

// 修改调拨出库管理
export function updateTransferOutbound(data) {
  return request({
    url: '/OutboundManagement/transferOutbound',
    method: 'put',
    data: data
  })
}

// 删除调拨出库管理
export function delTransferOutbound(transferId) {
  return request({
    url: '/OutboundManagement/transferOutbound/' + transferId,
    method: 'delete'
  })
}
